Linux under the compression, decompression command a variety of, unlike in Windows next WinRAR fight all over the world without rival, exclusively. rar. zip format.For example, the commonly used tar tar.gz tar.bz2 under Linux. Z and so on. The CPU
Original English meaning: tape archive
Chinese meaning: tape ArchivingNoteSolution: A file packaging tool in Unix/Linux is used to pack many files together to form an archive file for archiving. It was originally designed for tape backup and can now
The most common packaging program under Linux is tar, and the packages we use in the TAR program are often referred to as the TAR packets, and the TAR package file commands are usually ended with. Tar. After the tar package is generated, you can use
TARCommand nameThe GNU version of the tar-tar file management program. The following sections describe their meanings one by one.OverviewTar [-] A -- catenate -- concatenate | c -- create | d -- diff -- compare | r -- append | t -- list | u --
Decompress the tar package for basic Linux knowledge
(1) decompress the tar package with the suffix bz2:Bzip2-D gcc-4.1.0.tar.bz2--- After decompression, run the tar package decompression command.(2)
For those who have just come in contact with Linux, it will certainly give Linux a lot of different file names to get dizzy. Let's just say, in the case of compressed files, we know that there are only two types of compressed files that are most
Linux zip command
Zip-r myfile.zip./*Compresses all files and folders in the current directory into Myfile.zip files, and-R represents all files under a recursive compression subdirectory.
2.unzipUnzip-o-d/home/sunny Myfile.zipExtract the
LinuxCommon compression and decompression commands are shown in Table 2-5.
Table 2-5 common Linux compression and decompression commands
Common commands
Brief Chinese description
Program directory
Gzip
You can use the-d
First of all, attach Linux under the various suffix format Compression decompression command, if you do not want to understand why the reason can run out.
. tar
Unpack: Tar xvf Filename.tar
Packing: Tar cvf filename.tar dirname
(Note: Tar is
1, has compiled the packing good xxx.rpm
If your Linux system has a setup program, it is best to install it with the system's own installer. For example, SuSE YaST2 with installation procedures, in the KDE environment as long as the RPM, you
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.